package cn.tedu.mybatis.mapper;

import cn.tedu.mybatis.pojo.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**文章对象数据层接口*/
@Mapper
public interface ArticleMapper {
    int insert(Article article);
    Article selectById(Long id);
    List<Article> list();
}
